<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="utf-8"%>
<%@ include file="/public/pathvariable.jsp" %>
<!DOCTYPE html>
<html style="height:auto;">

	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<title>用户登录</title>
		<link rel="stylesheet" type="text/css" href="<%=basePath %>css/style.css">
		<link rel="stylesheet" type="text/css" href="<%=basePath %>css/f_style.css">
		<link rel="stylesheet" type="text/css" href="<%=basePath %>css/msg.css">
		<link rel="stylesheet" type="text/css" href="<%=basePath %>css/ui_base.css">
	</head>

	<body class="loginBody">
		<div class="f_loginArea">
			<div class="f_llImg"></div>
			<div class="f_loginBox" id="userLoginForm">
				<div class="f_titleImg"><img src="<%=basePath %>images/login/f_logo.png"></div>
				<div class="f_listBoxs">
					<!--<div class="f_ll"><span class="ttt">账户</span><input type="text" id="username" value="" maxlength="50" minlength="0" /></div>-->
					<div class="f_ll"><span class="ttt">账户</span><input type="text" id="username" value="" maxlength="50" minlength="0" /></div>
					<!---正确添加class：f_icoTrue   错误添加class f_icoFalse-->
					<div class="f_rr f_ico f_icoW"></div>
				</div>
				<div class="f_listBoxs">
					<div class="f_ll"><span class="ttt">密码</span><input type="password" id="password" value="" maxlength="20" minlength="6" /></div>
					<!---正确添加class：f_icoTrue   错误添加class f_icoFalse-->
					<div class="f_rr f_ico f_icoW"></div>
				</div>
				<div class="f_loginPrompt">
					<!---正确添加class：f_icoTrue   错误添加class f_icoFalse-->

				</div>
				<div class="f_loginBtn"><input type="button" value="登录" id="userLoginSubmitBtn" class="userLoginSubmitBtn" /></div>
				<div class="f_passwordRemember"><span class="f_ico"></span><input value="false" type="hidden" id="rememberUserLoginInfo" /> 记住密码</div>
			</div>
		</div>
		<div class='footer'>战略合作伙伴及技术支持：
			<a target='_blank' href='http://about.dayhr.com/'>理才网</a>
		</div>
		<!--由js引入公共路径-->
		<script>
			var basePath = "<%=basePath%>";
		</script>
		<script src="<%=basePath %>js/jquery.min.1.8.2.js"></script>
		<script src="<%=basePath %>js/jquery.cookies.min.js"></script>
		<script src="<%=basePath %>login/js/login.js"></script>
		<script src="<%=basePath %>js/layer/layer.min.js"></script>
		<script>
			var isLogin = "${userinfo.userId}";
			var s = 2;
			if(!!isLogin > 0) {
				layer.msg("您已登录！<strong class='theCountdown'>" + s + "</strong> 秒后前往首页...", 5, -1);
				window.setInterval("run();", 1000);
				setTimeout("javascript:location.href='<%=basePath %>index.jsp?parId=0'", 3000);
			}
			
			function run() {
				s -= 1;
				if(s >= 0) $(".theCountdown").html(s);
			}
		</script>
	</body>

</html>